#ifndef ALTCP_TLS_HITLS_OPTS_H
#define ALTCP_TLS_HITLS_OPTS_H

#include "lwip/opt.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @defgroup altcp_tls_hitls_opts Options
 * @ingroup altcp_tls_hitls
 * @{
 */

/** LWIP_ALTCP_TLS_HITLS==1: Enable HiTLS layer */
#ifndef LWIP_ALTCP_TLS_HITLS
#define LWIP_ALTCP_TLS_HITLS                1
#endif

/** LWIP_ALTCP_HITLS_AUTH_MODE==1: Enable authentication mode configuration */
#ifndef LWIP_ALTCP_HITLS_AUTH_MODE
#define LWIP_ALTCP_HITLS_AUTH_MODE          1
#endif

/** LWIP_ALTCP_HITLS_CRL==1: Enable CRL (Certificate Revocation List) support */
#ifndef LWIP_ALTCP_HITLS_CRL
#define LWIP_ALTCP_HITLS_CRL                1
#endif

/** ALTCP_HITLS_DEBUG==1: Enable debug output for HiTLS */
#ifndef ALTCP_HITLS_DEBUG
#define ALTCP_HITLS_DEBUG                   LWIP_DBG_ON
#endif

/** Maximum number of certificates for server */
#ifndef ALTCP_HITLS_MAX_CERTS
#define ALTCP_HITLS_MAX_CERTS               8
#endif

/** Default UIO buffer size for HiTLS */
#ifndef ALTCP_HITLS_UIO_BUF_SIZE
#define ALTCP_HITLS_UIO_BUF_SIZE            16384
#endif

/**
 * @}
 */

#ifdef __cplusplus
}
#endif

#endif /* ALTCP_TLS_HITLS_OPTS_H */ 